<?php

if(isset($_POST['idno']) && isset($_POST['pwd']) && isset($_POST['captcha'])) {
	if($_POST['captcha'] == $_SESSION['vcode']) {
		require 'conn.php';
		$stmt = $dbc->prepare("select * from ") 
		if() {

		}
	} else {
		echo '2';
		exit();
	}
} else {
	header("location:../?act=err");
}
?>